﻿using System.Collections.ObjectModel;

namespace Renci.Data.Interop.OpenGIS.Tml
{
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(AnonymousType = true, Namespace = "http://www.opengis.net/tml")]
    public class DataArrayTypeDataSet
    {
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("uid")]
        public BindType Uid { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("name")]
        public BindType Name { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("variableName")]
        public BindType VariableName { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("numObjInSet")]
        public BindType NumObjInSet { get; set; }

        private Collection<DataUnit> _dataUnits = new Collection<DataUnit>();
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("dataUnit")]
        public Collection<DataUnit> DataUnits
        {
            get
            {
                return this._dataUnits;
            }
        }

        private Collection<DataArrayType> _dataArrays = new Collection<DataArrayType>();
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("dataArray")]
        public Collection<DataArrayType> DataArrays
        {
            get
            {
                return this._dataArrays;
            }
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute("name")]
        public string AttributeName { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute("uid", DataType = "anyURI")]
        public string AttributeUid { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(DataType = "anyURI")]
        public string AttributeUidRef { get; set; }
    }
}
